/*
 * =====================================================================================
 *
 *       Filename:  noStop.c
 *
 *    Description:  Testovaci program, ktery neskonci dokud uzivatel nezadana q.
 *
 *        Version:  1.0
 *        Created:  5.3.2013 21:31:53
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  YOUR NAME (), 
 *   Organization:  
 *
 * =====================================================================================
 */

#include <stdio.h>
#include <unistd.h>

int main(int argc, char *argv[])
{
    printf("Program noStop startuje s pid %d\n", getpid());

    int c = 0;
    do {
        printf("Pro ukonceni zadejte znak: q\n");
        c = getchar();
    } while(c != 'q');

    return 0;
}
